//
//  RadioTableViewCell.m
//  Lianxi2
//
//  Created by lanou on 16/7/3.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "RadioTableViewCell.h"
@interface RadioTableViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *photo;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *count;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *content;



@end

@implementation RadioTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
    
    // Configure the view for the selected state
}
- (void)setCellWithModel:(RadioListModel *)model{
    [self.photo sd_setImageWithURL:[NSURL URLWithString:model.coverimg]];
    self.title.text = model.title;
    self.count.text = [NSString stringWithFormat:@"%ld",model.count];
    self.name.text = model.uname;
    self.content.text = model.desc;
}

@end
